#include "print_tree.h"
#include <stdio.h>

int main(void) {
	num_group_s num_group;
	i8_s* num_b = num_group.num_a;
	scanf("%hhd%hhd%hhd%hhd", &(num_b[0]), &(num_b[1]), &(num_b[2]),
	      &(num_b[3]));
	generate_all_solutions(num_group, print_tree);
	return 0;
}
